<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript">
	function mgr(){	 
		location.href="<%=basePath%>mgr/mgrLoad";        
     }
	function res(){	 	           
        location.href="<%=basePath%>res/resLoad";         
	}
	function food(){	 
		location.href="<%=basePath%>food/foodLoad"; 	                 
	}
	</script>
  </head>
  
  <body>  
   	欢迎来到后台管理员界面 
    <input type="button" onclick="res()" value="餐馆管理">
    <input type="button" onclick="mgr()" value="管理员管理">
    <input type="button" onclick="food()" value="菜肴管理">
  </body>
</html>
